﻿<?php 
 /**
 * Template Name: main
 *
 * A custom page template without sidebar.
 *
 * The "Template Name:" bit above allows this to be selectable
 * from a dropdown menu on the edit page screen.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */


 get_header(); ?>
   <div id="content-wrap">
		<div id="main"> 
<?php
// The Query
query_posts('&cat=6');
// The Loop
while ( have_posts() ) : the_post();
	echo '<h1><a href="';
	the_permalink();
	echo '">'; 
	the_title();
	echo '</a></h1>';
	the_excerpt();
endwhile;
wp_link_pages();
// Reset Query
wp_reset_query();

?>
</div>
</div>


<?php get_footer(); ?>
